#ifndef _BBAPPLICATION_H_
#define _BBAPPLICATION_H_

#include "BBPlatformDefine.h"

typedef enum eAppState
{
	BEGINLOOP,
	ENDLOOP
} bAppState;

class BBApplication
{
public:
	BBApplication(void);
	virtual ~BBApplication(void);
	virtual bool Init();
	virtual void onEventDispath();
	virtual void makeLoop();
	virtual void onExit();
	BB_CREATE_PROPERTY(int,m_iAppState,AppState)
protected:
	bool m_bInit;
};

#endif